﻿#include "ParameterBuilder.h"

ParameterBuilder::ParameterBuilder()
{

}

ParameterBuilder::~ParameterBuilder()
{

}

Shape * ParameterBuilder::createShape(const QVector<VPoint> &points, double radius)
{
    return new Shape(points, radius);
}

Paint * ParameterBuilder::createPaint(const QString &medium, const QVector<VPoint> &points, double radius)
{
    return new Paint(medium, points, radius);
}

VPoint * ParameterBuilder::createVPoint(double x, double y)
{
    return new VPoint(x, y);
}
